@import url('animate.css');
@import url('open-iconic.min.css');

* {margin:0;padding:0;border:none;outline:none;}
html, body, .page {width:100%;height:100%;font-family:'Microsoft YaHei', Helvetica, Arial, sans-serif;font-size:1rem;}
a {text-decoration:none;}

.show {display:block;}
.row:after {display:block;content:'';clear:both;}
.col {float:left;}
.code-comment {color:forestgreen;font-style:italic;}

input, .hero .btn, .install, .picture, .doc-menu li.active, .demo, .demo .code {
    -webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;
}

header, .hero {background-color:#1c66b9;color:#fff;}
header {height:60px;line-height:60px;position:fixed;top:0;width:100%;z-index:9999;}
nav, .logo {float:left;height:60px;}
.logo {width:53px;overflow:hidden;}
.logo img {margin-top:6px;}
nav a {font-weight:bold;font-size:1.2rem;color:#fff;margin-left:15px;}
nav a:hover {color:#fff;}

.hero {position:relative;padding:100px 30px 80px 30px;text-align:center;}
.hero .name {font-weight:bold;font-size:4rem;}
.hero .desc {font-size:1.2rem;text-align:justify;padding:10px 0;}
.hero .btns {padding-top:30px;display:flex;justify-content:center;}
.hero .btn {font-size:1.5rem;color:#fff;border:1px solid #eee;margin:0 10px;padding:10px 20px;}
.hero .btn:hover {background-color:#fff;color:#000;}
.hero .git img {margin:8px;}
.hero .stats {text-align:center;padding-top:40px;}

section {padding:1rem 0;}
section .column {padding:1rem;}
.install, .picture {
    background-color:#000;color:#fff;
    box-shadow: 3px 3px 5px #909090;
    -webkit-box-shadow: 3px 3px 5px #909090;
    -moz-box-shadow: 3px 3px 5px #909090;
}
.install {padding:20px;border:1px solid #ccc;overflow:auto;text-align:left;}
.install h4 {font-size:1.5rem;margin-bottom:20px;}
.install pre {font-size:1.2rem;}
.picture {
    width:100%;height:223px;
    background: url(../img/home.png) no-repeat center;
    background-size:100% 100%;
}

footer {background-color:#393d49;color:#fff;padding-top:20px;}
footer .row {padding:20px 0;display:flex;flex-direction:column;}
footer .brand {padding:10px;}
footer .links, footer .qrcode {padding:20px 2px 0 20px;}
footer .desc {padding:0 10px;}
footer .qrcode {text-align:center;}
footer ul {padding:10px 0;list-style:none;}
footer ul li {height:30px;line-height:30px;}
footer a {color:#fff;}
.copyright {text-align:center;padding:20px 50px;border-top:1px solid #494d59;}

input {outline:none;box-sizing:border-box;font-family:inherit;font-size:inherit;border:1.5px solid #ccc;}
input:focus {border-bottom:1.5px solid #5bc0de;}

@media screen and (min-width:769px) {
    .row {padding:50px 0;}
    section, footer {margin-top:60px;}
    section {display:grid;grid-template-columns:repeat(auto-fit,minmax(0%,1fr));grid-column-gap:10px;}
    section .column {padding:1.5rem;}
    .hero, section, footer {padding:0 180px;}
    .logo {width:180px;}

    .hero {padding-top:150px;padding-bottom:100px;}
    .hero .desc {padding-top:20px;text-align:center;}
    .hero .btns {padding-top:40px;}

    .install {padding:50px;}
    .install h4 {font-size:2.1rem;}
    .install pre {font-size:1.6rem;}

    .picture {height:377px;}

    footer .row {flex-direction:row;}
    footer .brand {width:45%;}
    footer .links {width:15%;}
}

/*doc*/
.doc-container {position:absolute;top:60px;left:0;right:0;bottom:0;}
.doc-sider {
    display:none;position:absolute;top:0;left:0;bottom:0;width:220px;border-right:1px solid #ccc;overflow:auto;
    z-index:9999;background-color:#fff;
}
.doc-sider.show {display:block;}
.doc-nav {
    display:block;position:fixed;top:0;left:0;z-index:9999;cursor:pointer;font-size:1.5rem;
    text-align:center;width:60px;height:60px;line-height:60px;color:#fff;background-color:#1c66b9;
}
.doc-content {position:absolute;top:0;right:0;bottom:0;left:0;padding:20px;overflow:auto}
.doc-content > p {margin-top:5px;margin-bottom:5px}
.doc-content > ul {list-style:disc;padding-left:2em;}
.doc-content > ul > li {line-height:1.8rem;}
.doc-content > h1,.doc-content > h2,.doc-content > h3,.doc-content > h4,.doc-content > h5,.doc-content > h6 {
    position:relative;margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25;
}
.doc-content > h1 {font-size:2em;}
.doc-content > h2 {font-size:1.5em;}
.doc-content > h3 {font-size:1.25em;}
.doc-content > h4 {font-size:1em;}
.doc-content > h5 {font-size:0.875em;}
.doc-content > h6 {font-size:0.85em;color:#6a737d}
.doc-content .icons li {display:inline-block;width:20%;height:3rem;font-size:1.5rem;text-align:center;margin-bottom:1.5rem;cursor:pointer;}
.doc-content .icons li span {display:block;font-size:0.8rem;margin-top:5px;}
.doc-desc {color:#909090;padding:1rem 0;}

.doc-menu .search {padding:10px;}
.doc-menu input {width:100%;height:30px;line-height:30px;}
.doc-menu .title {font-weight:bold;padding:10px 0 10px 10px;background-color:#f1f1f1;}
.doc-menu ul {padding:10px;list-style:none;}
.doc-menu li {height:40px;line-height:40px;cursor:pointer;padding-left:20px;color:#000;overflow:hidden;}
.doc-menu li:hover {color:#1c66b9;}
.doc-menu li.active {background-color:#1c66b9;color:#fff;}

@media screen and (min-width:769px) {
    .doc-sider {display:block;}
    .doc-nav {display:none;}
    .doc-content {left:221px;padding:20px 150px;}
}

/*markdown*/
.markdown-body {-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;word-wrap:break-word}
.markdown-body strong {font-weight:inherit;font-weight:600}
.markdown-body img {border-style:none}
.markdown-body code,.markdown-body kbd,.markdown-body pre {
    font-family:monospace, monospace;font-size:1em
}
.markdown-body input {font:inherit;margin:0;overflow:visible}
.markdown-body [type="checkbox"] {
    -webkit-box-sizing:border-box;box-sizing:border-box;padding:0
}
.markdown-body * {-webkit-box-sizing:border-box;box-sizing:border-box}
.markdown-body input {font-family:inherit;font-size:inherit;line-height:inherit}
.markdown-body hr {
    -webkit-box-sizing:content-box;box-sizing:content-box; 
    margin:15px 0;overflow:hidden;
    background:transparent;border:0;border-bottom:1px solid #dfe2e5
}
.markdown-body hr::before {display:table;content:""}
.markdown-body hr::after {display:table;clear:both;content:""}
.markdown-body table {border-spacing:0;border-collapse:collapse}
.markdown-body td,.markdown-body th {padding:0}
.markdown-body blockquote {margin:0}
.markdown-body ol ol,.markdown-body ul ol {list-style-type:lower-roman}
.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol {
    list-style-type:lower-alpha
}
.markdown-body dd {margin-left:0}
.markdown-body code {
    font-family:SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size:12px
}
.markdown-body pre {
    margin-top:0;margin-bottom:0;
    font-family:SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size:12px
}
.markdown-body::before {display:table;content:""}
.markdown-body::after {display:table;clear:both;content:""}
.markdown-body>*:first-child {margin-top:0 !important}
.markdown-body>*:last-child {margin-bottom:0 !important}
.markdown-body a:not([href]) {color:inherit;text-decoration:none}
.markdown-body blockquote,.markdown-body dl,.markdown-body table,.markdown-body pre {
    margin-top:5px;margin-bottom:5px
}
.markdown-body hr {height:0.25em;padding:0;margin:24px 0;background-color:#e1e4e8;border:0}
.markdown-body blockquote {padding:0 1em;color:#6a737d;border-left:0.25em solid #dfe2e5}
.markdown-body blockquote>:first-child {margin-top:0}
.markdown-body blockquote>:last-child {margin-bottom:0}
.markdown-body kbd {
    display:inline-block;padding:3px 5px;font-size:11px;line-height:10px;
    color:#444d56;vertical-align:middle;background-color:#fafbfc;
    border:solid 1px #c6cbd1;border-bottom-color:#959da5;border-radius:3px;
    -webkit-box-shadow:inset 0 -1px 0 #959da5;box-shadow:inset 0 -1px 0 #959da5
}
.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul {
    margin-top:0;margin-bottom:0
}
.markdown-body li {word-wrap:break-all}
.markdown-body dl {padding:0}
.markdown-body dl dt {padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:600}
.markdown-body dl dd {padding:0 16px;margin-bottom:16px}
.markdown-body table {display:block;width:100%;overflow:auto}
.markdown-body table th {font-weight:600}
.markdown-body table th,.markdown-body table td {padding:6px 13px;border:1px solid #dfe2e5}
.markdown-body table tr {background-color:#fff;border-top:1px solid #c6cbd1}
.markdown-body table tr:nth-child(2n) {background-color:#f6f8fa}
.markdown-body img {
    max-width:100%;-webkit-box-sizing:content-box;
    box-sizing:content-box;background-color:#fff
}
.markdown-body img[align=right] {padding-left:20px}
.markdown-body img[align=left] {padding-right:20px}
.markdown-body code {
    padding:0.2em 0.4em;margin:0;font-size:85%;
    background-color:rgba(27,31,35,0.05);border-radius:3px
}
.markdown-body pre {word-wrap:normal}
.markdown-body pre>code {
    padding:0;margin:0;font-size:100%;
    word-break:normal;white-space:pre;
    background:transparent;border:0
}
.markdown-body .highlight {margin-bottom:16px}
.markdown-body .highlight pre {margin-bottom:0;word-break:normal}
.markdown-body .highlight pre,.markdown-body pre {
    padding:16px;overflow:auto;font-size:85%;line-height:1.45;
    background-color:#f6f8fa;border-radius:3px
}
.markdown-body pre code {
    display:inline;max-width:auto;padding:0;margin:0;overflow:visible;
    line-height:inherit;word-wrap:normal;background-color:transparent;border:0
}
.markdown-body .full-commit .btn-outline:not(:disabled):hover {
    color:#005cc5;border-color:#005cc5
}
.markdown-body kbd {
    display:inline-block;
    padding:3px 5px;
    font:11px SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    line-height:10px;
    color:#444d56;
    vertical-align:middle;
    background-color:#fafbfc;
    border:solid 1px #d1d5da;
    border-bottom-color:#c6cbd1;
    border-radius:3px;
    -webkit-box-shadow:inset 0 -1px 0 #c6cbd1;
    box-shadow:inset 0 -1px 0 #c6cbd1
}
.markdown-body :checked+.radio-label {position:relative;z-index:1;border-color:#0366d6}
.markdown-body .task-list-item {list-style-type:none}
.markdown-body .task-list-item+.task-list-item {margin-top:3px}
.markdown-body .task-list-item input {margin:0 0.2em 0.25em -1.6em;vertical-align:middle}
.markdown-body hr {border-bottom-color:#eee}

/*highlight vs*/
pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#fff;color:#000}.hljs-comment,.hljs-quote,.hljs-variable{color:green}.hljs-built_in,.hljs-keyword,.hljs-name,.hljs-selector-tag,.hljs-tag{color:#00f}.hljs-addition,.hljs-attribute,.hljs-literal,.hljs-section,.hljs-string,.hljs-template-tag,.hljs-template-variable,.hljs-title,.hljs-type{color:#a31515}.hljs-deletion,.hljs-meta,.hljs-selector-attr,.hljs-selector-pseudo{color:#2b91af}.hljs-doctag{color:grey}.hljs-attr{color:red}.hljs-bullet,.hljs-link,.hljs-symbol{color:#00b0e8}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}
